Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Lorraine Desgerothernivu 1.Dec.03 06:08 AM a Web browser
Applications Development 6.0.2 CF2 Windows 2000


In a agent I access a doucment with the UNID.
This is working fine. But if I delete the document and try to access it again with the fnc getDocumentByUNID the agent crahs with the error:

error: Invalid universal id

According to the help it should return nothing. This is not the case because I check for this.

Code looks like this:

Set db = NotesSession.CurrentDatabase

If Not(db is Nothing) Then

Set doc = db.GetDocumentByUNID(docUNID)

If (doc is nothing) Then
'*** error msg
End If

Else
'*** error msg

End If

Did I miss somethign or could this be a bug?
Any help appreciated






NotesDatabase.GetDocumentByUNID doe... (~Lorraine Desge... 1.Dec.03)
. . RE: NotesDatabase.GetDocumentByUNID... (~Elizabeth Lopf... 1.Dec.03)
. . . . RE: NotesDatabase.GetDocumentByUNID... (~Lorraine Desge... 1.Dec.03)
. . . . . . RE: NotesDatabase.GetDocumentByUNID... (~Bill Frokimari... 1.Dec.03)
. . RE: NotesDatabase.GetDocumentByUNID... (~Lorraine Desge... 1.Dec.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS